﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    облако тегов
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<% foreach (IloveRSS.Models.VO.ChannelVO item in ViewBag.SearchResult)
           {%>
           <div class="channel">
                <div class="channel-descriptions">
                    <b>Channel Name: </b>
                    <%: item.Name %>
                </div>
                <div class="channel-descriptions">
                    <b>Rate: </b>
                    <%: item.Rate %>
                </div>
                <div class="channel-descriptions">
                    <b>Description: </b>
                    <%: item.Description %>
                </div>
                <div class="channel-descriptions">
                    <b>Tags: </b>
                    <%: item.ListTags %>
                </div>
                <div class="channel-descriptions">
                    <ul>
                        <li><%: Html.ActionLink("Посмотреть", "ViewChannel", "Home", new { id = item.ChannelID }, null)%></li>
                        <li><%: Html.ActionLink("Добавить в мои каналы", "SignIn", "Home", new { id = item.ChannelID }, null)%></li>
                    </ul>
                </div>

           </div>
        <%} %>
<p><%:Html.ActionLink("Назад","Index") %></p>

</asp:Content>
